package xcmg.device.dao.mapper.initialInventory;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.initialInventory.InitialInventoryDO;
import xcmg.device.service.vo.initialInventory.InitialInventoryVO;

import java.util.List;

@Mapper
public interface InitialInventoryMapper
{
    int delete(String id);

    int insert(InitialInventoryDO record);

    InitialInventoryDO item(String id);
    InitialInventoryDO itemByNo(String billNo);

    int update(InitialInventoryDO record);

    List<InitialInventoryDO> list(InitialInventoryVO initialInventoryVO);

    int updateStatus(@Param("status") int status, @Param("billNo") String billNo);

}